// 审核状态
function getAuditStatus (status) {
  let type = 'primary'
  if (status === 'Pass') {
    type = 'green'
  } else if (status === 'NotPass') {
    type = 'error'
  } else if (status === 'CancelAudit') {
    type = 'warning'
  }
  return type
}
// 接收状态
function getAcceptStatus (status) {
  let type = 'primary'
  if (status === 'Receive' || status === 'SectionReceive') {
    type = 'green'
  } else if (status === 'Rejection') {
    type = 'error'
  }
  return type
}

export { getAuditStatus, getAcceptStatus };
